branchrust_reboot/main/d11_console_version/d11_console_audio/d11_console_audio2/PS4 Stereo Voice Chat/XBoneHeadsetChatcancel

59 Commits over 30 Days - 0.08cph!

5 Years Ago
5 Years Ago
[D11] [Audio] Temp hack that allows me to checkin current voice code to main branch
5 Years Ago
[D11] [Audio] Checking in before switching to optimisation tasks
5 Years Ago
[D11] [Audio] Headset remove/insert and IsMicrophoneConnected working on XBox One
5 Years Ago
[D11] [Audio] Fixes another crash situation where an ophaned DeviceManager class could be left still registered for device remove/insert callbacks.
5 Years Ago
[D11] [Audio] Fixes the dreaded heap corruption caused by inserting/removing headset & mic
5 Years Ago
[D11] [Audio] Checking in new project settings that correctly applies the kinekt flags to the manifest for xbox one
5 Years Ago
[D11] [Audio] Latest chat code... tested working on xbone (but stuttering/bad quality) by disabling 7th core and enabling kinectAudio and kinectGamechat Checking in so I can roadtest a new Unity build that will have those flags enabled properly.
5 Years Ago
5 Years Ago
[D11] [Audio] Adds Voice.Loopback option to the debug menu
5 Years Ago
[D11] [Audio] Splits PC & XBox One WASAPI classes. This fixes voice on PC.
5 Years Ago
[D11] [Audio] checking in after verifying standalone loopback tests still work on PS4/XBox One
5 Years Ago
Fixes mixer issue Boxes off some calls in the dll with null checks
5 Years Ago
Updates Win and PS4 version so they compile again.
5 Years Ago
[D11] [Audio] Fixes XBox One headset recording state to persist between headset being removed/inserted. Recording/playback now resumes if needed.
5 Years Ago
[D11] [Audio] headset removal/reinsertion now seems to be working (although there are some issues and a slight delay in detection) but it is working. It looks like the original sample code had some memory corruption as it was allocating a structure with new but freeing it with CoTaskMemFree. There is also seemingly a case where the headset would never be usable again... not sure if that was because of the memory corruption or if there is another issue... Need to do some more testing tomorrow.
5 Years Ago
[D11] [Audio] Checking in WIP ... I now have the GUID of the removed headset in a callback. Next I need to issue a device changed call to get the capture into a proper error state and then loop to retry to create a capture device.
5 Years Ago
[D11] [Audio] Changes the way the ADT sample code brings up and tears down threads... This at least makes sure that the Capture thread does actually stop... the Render thread somehow already managed to stop but I've changed that around. Despite these changes I'm still seeing edge case crashes in a M$ .dll with no symbols... not exactly sure what this is.. it looks like its some .NET reference to an object that's been destroyed maybe as its happening when we pull the headset when its rendering.
5 Years Ago
[D11] [Audio] Fixed the threadlock bug that was stopping shutdown/re-init of the library but now pulling a headset crashes in no mans land .dll with no call stack.
5 Years Ago
[D11] [Audio] Checking in WIP Still not working for plugging/unplugging headsets but im at least getting error state numbers out of this now.
5 Years Ago
[D11] [Audio] Adds debug functionality to count frames captured/rendered to help identify if/when either the capture/renderer thread has locked up and stopped responding.
5 Years Ago
[D11] [Audio] Fixes null pointer crash when pulling/inserting headset.
5 Years Ago
[D11] [Audio] Fixes start/stop/resume recording functionality
5 Years Ago
[D11] [Audio] ensure we don't have buffer size runaway and only add audio to buffer when we are actually recording.
5 Years Ago
[D11] [Audio] Checking in WIP... Tidyup code a bit...
5 Years Ago
[D11] [Audio] Checking in WIP... Can now retrieve status of capture/rendering from the native xbox dll... currently the states do not match what is happening with pulling/inserting a headset so need to fix this up and also make this auto initialize from startup as well as re-initialize on pull/insert etc
5 Years Ago
[D11] [Audio] Checking in WIP ... Loopback is working.
5 Years Ago
[D11] [Audio] Checking in WIP ... loopback test is playing corrupted data but it is at least sampling and playing... Just need to track down the cause of the corruption.